.admin {
    max-width: 100vw;
    min-height: 100vh;
    overflow: hidden;

    .main-wrap {
        width: calc(100% - 200px);
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0px;

        .el-main {
            float: right;
            padding: 0 20px;
        }

        .el-header {
            display: flex;
            align-items: center;
            padding: 0;
            position: sticky;
            z-index: 9;
            top: 0;
            background-color: white;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);

            .header-wrap {
                width: 100%;
                height: 100%;
                display: flex;

                .user {
                    border-left: solid 1px var(--el-color-info-light-7);

                    .user-wrap {
                        padding: 0 20px;
                        width: 100%;
                        justify-content: flex-end;
                        display: flex;
                        align-items: center;
                        cursor: pointer;

                        img {
                            width: 40px;
                            height: 40px;
                            border-radius: 50%;
                        }
                    }
                }

                .controller {
                    flex: 1;
                }
            }
        }
    }

    .el-aside {
        position: fixed;
        top: 0;
        z-index: 9;

        .aside-wrap {
            min-height: 100vh;

            .aside-top {
                display: flex;
                align-items: center;
                box-shadow: 0px 2px 10px #001b35;

                .logo {
                    // width: 30%;
                    flex: 1;
                    margin: 10px;
                    img {
                        width: 100%;
                    }
                }

                .title {
                    // flex: 1;
                    width: 60%;
                    text-align: center;
                    color: inherit;
                    font-size: 1.2rem;
                    font-weight: bolder;
                }
            }

            .menu {
                [role="menubar"]{
                    width: 201px;
                }
                .collapse{
                    text-align: center;
                    line-height: 60px;
                    .svg-icon{
                        cursor: pointer;
                    }
                }
                .el-menu {
                    background-color: inherit;
                    color: inherit;
                    .svg-icon{
                        margin-right: 20px;
                        margin-left: 5px;
                    }
                    .el-menu-item {
                        background-color: inherit;
                        color: inherit;
                        &:hover {
                            background-color: inherit;
                            color: inherit;
                        }
                    }
                }
            }
        }
    }
}